Number
An integer or real mathematical number. The default number base is decimal.
For based integers with exponents, the BasedInteger value is multiplied by
the Base raised to the power of the Exponent.
Syntax
{either}
Integer[.Integer][Exponent]
Base#BasedInteger[.BasedInteger]#[Exponent]
Base = Integer {decimal number between 2 and 16}
BasedInteger = {hex digits 0-9, A-F and underscores}
Exponent = E+/-Integer
Integer = {decimal digits 0-9 and underscores}
Where
See Expression
Rules
A number must not contain embedded spaces, nor can it contain adjacent
underscores.
A number with no radix point is an integer; the exponent of an integer must
not be negative.
Example
30 = 3E1 = 16#1E# = 2#11_11#e1
30.0 = 300.0e-1 = 16#1E.0# = 2#11.11#E+3
See Also
Integer, Floating, String
|